
#ifndef __OGLUTILS_H_
#define __OGLUTILS_H_

#define GL_GLEXT_PROTOTYPES

#include <GL/gl.h>
#include <GL/glext.h>
#include <GL/glut.h>

#include <cstdlib>
#include <cstdio>

/// Checks for OpenGL errors
void checkGLErrors(const char *label);

/// error checking for GLSL, copied directly from the spec
void printInfoLog(GLhandleARB obj);

#endif
